</head>
<body>
<!--头部-->
	<div class='top-list-wrap'>
		<div class='top-list'>
			<ul class='l-list'>
				<li><a href="#" target='_blank'>关于icehill</a></li>
			</ul>
			<ul class='r-list'>
				<li><a href="#" target='_blank'>icehill'CSDN</a></li>
			</ul>
		</div>
	</div>


	<div class='top-search-wrap'>
		<div class='top-search'>
			<a href="http://bbs.houdunwang.com" target='_blank' class='logo'>
				<img src="__PUBLIC__/Images/logo.png"/>
			</a>
			<div class='search-wrap'>
				<form action="" method='get'>
					<input type="text" name='keyword' class='search-content'/>
					<input type="submit" name='search' value='搜索'/>
				</form>
			</div>
		</div>
	</div>

<php>
	$cate=M('cate')->order('sort')->select();
</php>
	<div class='top-nav-wrap'>
		<ul class='nav-lv1'>
			<li class='nav-lv1-li'>
				<a href="__GROUP__" class='top-cate'>博客首页</a>
			</li>
			<nav order='sort ASC'>
				<li class='nav-lv1-li'>
					<a href="{$url}" class='top-cate'>{$name}</a>
						<if condition='$v["child"]'>
						<ul>
							<foreach name='child' item='v'>
							<li><a href="{:U('/c_'.$v['id'])}">{$v.name}</a></li>
							</foreach>
						</ul>
				</if>
				</li>
			</nav>
		</ul>
	</div>
